package com.lianniu.mgr.buyerManage.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/buyerManage")
public class BuyerManageController {
	
	@RequestMapping("/list")
	public String list(HttpServletRequest request,HttpServletResponse response){
		return "/buyerManage/buyerList";
	}
	
	@RequestMapping("/viewBuyer")
	public String viewBuyer(HttpServletRequest request){
	  return "/buyerManage/buyerInfo";
	}
	@RequestMapping("/editBuyer")
    public String editBuyer(HttpServletRequest request){
      return "/buyerManage/buyerEdit";
    }
	@RequestMapping("/frozenBuyer")
    public String frozenBuyer(HttpServletRequest request){
      return "/buyerManage/buyerFrozen";
    }

	@RequestMapping("/approveList")
	public String approveList(HttpServletRequest request,HttpServletResponse response){
		return "/buyerManage/buyerApproveList";
	}
	@RequestMapping("/modifyBuyer")
	public String modifyBuyer(HttpServletRequest request){
		return "/buyerManage/buyerApproveEdit";
	}

	@RequestMapping("/viewApproveBuyer")
	public String viewApproveBuyer(HttpServletRequest request,HttpServletResponse response){
		return "/buyerManage/buyerApproveInfo";
	}
}
